package com.xxx.car.service;

import com.github.pagehelper.Page;
import com.xxx.car.entity.vo.request.*;
import com.xxx.car.entity.vo.response.*;

import java.util.List;
import java.util.Map;

/**
 * Created by xuwenjie on 2017/6/16.
 */
public interface TradeService {

    Map<String, String> createPayOrder(ReqChargeCreateOrder chargeCreateOrder);

    Map<String, String> createPayOrder(String orderId, ReqChargeCreateOrder chargeCreateOrder);

    List<RespChargeGive> getAllChargeGive();

    void delteChargeGive(Integer id);

    void finishPay(String orderId, String transactionId, Long amt);

    List<RespChargeDetail> findChargeDetail(ReqChargeDetailQuery reqChargeDetailQuery);

    void saveOrUpdateChargeGive(ReqChargeGiveAdmin reqChargeGiveAdmin);

    RespChargeTotalStatistics chargeTotalStatistics(ReqChargeTotalStatistics reqChargeTotalStatistics);

    Page<RespChargeUserStatistics> chargeUserStatistics(ReqChargeUserStatistics reqChargeUserStatistics);

    Page<RespChargeGiveDetail> findChargeDetail(ReqChargeDetailQueryForAdmin reqChargeDetailQueryForAdmin);
}
